package com.ia2011.project1.domain;

public class Action {

	private TAction type;
	private Integer userId;
	
	public Action(TAction type, Integer userId) {
		this.setType(type);
		this.setUserId(userId);
	}

	public Action(Action action) {
		this.type = action.type;
		this.userId = action.userId;
	}

	public void setType(TAction type) {
		this.type = type;
	}

	public TAction getType() {
		return type;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getUserId() {
		return userId;
	}
	
	
	
}
